<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>用户注册</title>
<%@include file="../core/head.jsp"%>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" type="text/css" href="${ctx }/css/core.css"></link>
<link rel="stylesheet" href="${ctx}/css/regist.css" type="text/css"></link>
<link rel="stylesheet" href="${ctx}/css/buttons.css" type="text/css"></link>
<link rel="stylesheet" href="${ctx}/css/table.css" type="text/css">
 
</head>
<body>

<div class="width center">
		<div id="logo"></div>
		<div class="tab-panel">
			<ul class="tab">
				<li class="curr">个人用户注册</li>
			</ul>
			<span>我已经注册，现在就&nbsp;[<a href="${ctx }/user/login.action" class="flk13">登录</a>] </span>
		</div>
		<form action="${ctx }/user/regist.action" id="mainForm" class="reg-form  radius" method="post">
			<table class="table">
				<tr><th>用户名：</th>
					<td><input type="text" name="user.username"  value="${user.username}" class="i-user" /></td>
					<td><s:fielderror fieldName="user.username" cssClass="reg-msg" /></td>
				</tr>
				<tr>
				<th>昵称：</th>
					<td><input type="text" name="user.nickname" value="${user.nickname}" class="i-user"/></td>
					<td><s:fielderror fieldName="user.nickname" cssClass="reg-msg" /></td>
				</tr>
				<tr><th><span>密码：</span></th>
					<td><input type="password" name="user.password" class="i-pwd"/></td>
					<td><s:fielderror fieldName="user.password" cssClass="reg-msg" /></td>
				</tr>
				<tr><th><span>确认密码：</span></th>
					<td><input type="password"  class="i-pwd"/></td>
					<td></td>
				</tr>
				<tr><th><span>邮箱：</span></th>
					<td><input type="text" name="user.email" value="${user.email}" class="i-email"/></td>
					<td><s:fielderror fieldName="user.email" cssClass="reg-msg" /></td>
				</tr>
				<tr><th><span>邀请码</span></th>
					<td><input type="text" name="inviteCode" value="${inviteCode}" /></td>
					<td><s:fielderror fieldName="inviteCode" cssClass="reg-msg" /></td>
				</tr>
				<tr><td></td>
					<td colspan="2">
						 <input type="checkbox" checked = "checked" /> <span>我已阅读并同意<a href="#">《用户注册协议》</a> </span>
					</td>
				</tr>
				<tr><td></td>
					<td colspan="2">
						<input type="submit"  class="button green" style="width: 280px;height: 34px ; padding:5px; text-align: center;" value="立即注册"/> 
					</td>
				</tr>
			</table>
		</form>
	</div>
	
	<%@include file="../core/bottom.jsp"%>
</body>
</html>
